import {createRouter,createWebHistory} from "vue-router"
import V1 from "../components/Father.vue"
import V2 from "../components/Son.vue"

const  router = createRouter({
    history:createWebHistory(),
    routes:[
        {
            path: "/v1",
            component: V1
        },
        {
            path: "/v2",
            component: V2
        }
    ]
});

export default router;
